include ../Makefile.include

$(package): $(build_dir) 
	cd kernel; make
	-rm -rf tmp
	mkdir -p tmp/lib/modules/$(KERNEL_VER)/kernel/drivers/
	install -D kernel/dragonet.ko tmp/lib/modules/$(KERNEL_VER)/kernel/drivers/
	tar -C tmp -cpzf $@ .

clean: $(software)_clean
	cd kernel; make clean

